package com.svse.designPattern.structure.decorator.concretecomponent;

import com.svse.designPattern.structure.decorator.component.Component;

/**
 * @author LiYuhang
 * @version 0.1
 * @application
 * @Date 2020/8/2 8:27
 */
public class ConcreteComponent implements Component {
    public ConcreteComponent() {
        System.out.println("创建具体构件角色");
    }

    @Override
    public void operation() {
        System.out.println("调用具体构件角色的方法operation()");
    }
}
